from C import C
from Singleton import Singleton
import pygame
from core import main


@Singleton
class A:
    a = 1

    def __init__(self, x=0):
        self.x = x
        print('这是A的类的初始化方法')


if __name__ == '__main__':
    _list = [1, 2, 3, 4, 5, 6, 7, 8]
    _list2 = [1, 2, 3, 4, 5, 6, 7, 8]
    # [print(x) for x in map(lambda x: x + 1, _list)]
    [print(x) for x in map(lambda x: x + 1, map(lambda unit: unit[0] + unit[1], zip(_list, _list2)))]
    # a1 = A(2)
    # print(a1)
    # print(A(3))
    # print(A(12).x)
    # c = C()
    # main.run()
